package com.yidu.best.basicSetup.trusteeset.domain;

public class TrusteeVo {

	//托管人Id
	private String trusteeId;
	//托管人名
	private String trusteeName;
	//托管费
	private Float  trusteeFee;
	//描述
	private String description;
	
	private Integer page;
	private Integer limit;
	
	
	public TrusteeVo() {
		
		
	}


	public TrusteeVo(String trusteeId, String trusteeName, Float trusteeFee, String description, Integer page,
			Integer limit) {
		super();
		this.trusteeId = trusteeId;
		this.trusteeName = trusteeName;
		this.trusteeFee = trusteeFee;
		this.description = description;
		this.page = page;
		this.limit = limit;
	}


	public String getTrusteeId() {
		return trusteeId;
	}


	public void setTrusteeId(String trusteeId) {
		this.trusteeId = trusteeId;
	}


	public String getTrusteeName() {
		return trusteeName;
	}


	public void setTrusteeName(String trusteeName) {
		this.trusteeName = trusteeName;
	}


	public Float getTrusteeFee() {
		return trusteeFee;
	}


	public void setTrusteeFee(Float trusteeFee) {
		this.trusteeFee = trusteeFee;
	}


	public String getDescription() {
		return description;
	}


	public void setDescription(String description) {
		this.description = description;
	}


	public Integer getPage() {
		return page;
	}


	public void setPage(Integer page) {
		this.page = page;
	}


	public Integer getLimit() {
		return limit;
	}


	public void setLimit(Integer limit) {
		this.limit = limit;
	}


	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((description == null) ? 0 : description.hashCode());
		result = prime * result + ((limit == null) ? 0 : limit.hashCode());
		result = prime * result + ((page == null) ? 0 : page.hashCode());
		result = prime * result + ((trusteeFee == null) ? 0 : trusteeFee.hashCode());
		result = prime * result + ((trusteeId == null) ? 0 : trusteeId.hashCode());
		result = prime * result + ((trusteeName == null) ? 0 : trusteeName.hashCode());
		return result;
	}


	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		TrusteeVo other = (TrusteeVo) obj;
		if (description == null) {
			if (other.description != null)
				return false;
		} else if (!description.equals(other.description))
			return false;
		if (limit == null) {
			if (other.limit != null)
				return false;
		} else if (!limit.equals(other.limit))
			return false;
		if (page == null) {
			if (other.page != null)
				return false;
		} else if (!page.equals(other.page))
			return false;
		if (trusteeFee == null) {
			if (other.trusteeFee != null)
				return false;
		} else if (!trusteeFee.equals(other.trusteeFee))
			return false;
		if (trusteeId == null) {
			if (other.trusteeId != null)
				return false;
		} else if (!trusteeId.equals(other.trusteeId))
			return false;
		if (trusteeName == null) {
			if (other.trusteeName != null)
				return false;
		} else if (!trusteeName.equals(other.trusteeName))
			return false;
		return true;
	}


	@Override
	public String toString() {
		return "trusteeVo [trusteeId=" + trusteeId + ", trusteeName=" + trusteeName + ", trusteeFee=" + trusteeFee
				+ ", description=" + description + ", page=" + page + ", limit=" + limit + "]";
	}
	
	
	
	
	
	
	
	
	
}
